package com.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.common.utils.Result;
import com.entity.Label;
import com.mapper.LabelMapper;
import com.query.LabelQuery;
import com.service.LabelService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wty
 * @since 2021-03-16
 */
@Service("labelService")
public class LabelServiceImpl extends ServiceImpl<LabelMapper, Label> implements LabelService {

    /**
     * 给任务设置标签
     * @param labelQuery
     * @return
     */
    @Override
    public Result setLabelForTask(LabelQuery labelQuery) {
        Integer labelId = labelQuery.getLabelId();
        Integer taskId = labelQuery.getTaskId();
        return null;
    }
}
